namespace CodeGears.WorkItemTracking.ChartingDashboard.Domain
{
    public class Query
    {
        public Microsoft.TeamFoundation.WorkItemTracking.Client.StoredQuery TfsQuery { get; private set; }

        public Query(Microsoft.TeamFoundation.WorkItemTracking.Client.StoredQuery tfsQuery)
        {
            TfsQuery = tfsQuery;
        }

        public override string ToString()
        {
            return TfsQuery.Name;
        }
    }
}